package com.ruoyi.production.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 今日产出对象 work_report_member
 *
 * @author ruoyi
 * @date 2022-09-05
 */
public class WorkReportMember extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 报工编号
     */
    @Excel(name = "报工编号")
    private String workReportNo;

    /**
     * 构件编号
     */
    @Excel(name = "构件编号")
    private String compomentNo;

    /**
     * 构件类别
     */
    @Excel(name = "构件类别")
    private String compomentType;

    /**
     * 构件名称
     */
    @Excel(name = "构件名称")
    private String compomentName;

    /**
     * 楼栋
     */
    @Excel(name = "楼栋")
    private String buildNo;

    /**
     * 楼层
     */
    @Excel(name = "楼层")
    private String floor;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String specifications;

    /**
     * 材质
     */
    @Excel(name = "材质")
    private String texture;

    /**
     * 长度
     */
    @Excel(name = "长度")
    private Long length;

    /**
     * 单表面积
     */
    @Excel(name = "单表面积")
    private Long surfaceArea;

    /**
     * 单毛重量
     */
    @Excel(name = "单毛重量")
    private Long grossWeight;

    /**
     * 单净重量
     */
    @Excel(name = "单净重量")
    private Long netWeight;

    /**
     * 工艺流程编号
     */
    @Excel(name = "工艺流程编号")
    private String processNo;

    /**
     * 报工数量
     */
    @Excel(name = "报工数量")
    private Long reportingCount;

    /**
     * 报工重量
     */
    @Excel(name = "报工重量")
    private Long reportWeight;

    /**
     * 不合格数量
     */
    @Excel(name = "不合格数量")
    private Long unqualifiedQuantity;

    /**
     * 产出数量
     */
    @Excel(name = "产出数量")
    private Long outputQuantity;

    /**
     * 生产时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionTime;

    /**
     * 是否已打印二维码
     */
    @Excel(name = "是否已打印二维码")
    private String whetherPrint;

    /**
     * 是否入库
     */
    @Excel(name = "是否入库")
    private String whetherStock;

    /**
     * 打印时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "打印时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date printTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setWorkReportNo(String workReportNo) {
        this.workReportNo = workReportNo;
    }

    public String getWorkReportNo() {
        return workReportNo;
    }

    public void setCompomentNo(String compomentNo) {
        this.compomentNo = compomentNo;
    }

    public String getCompomentNo() {
        return compomentNo;
    }

    public void setCompomentType(String compomentType) {
        this.compomentType = compomentType;
    }

    public String getCompomentType() {
        return compomentType;
    }

    public void setCompomentName(String compomentName) {
        this.compomentName = compomentName;
    }

    public String getCompomentName() {
        return compomentName;
    }

    public void setBuildNo(String buildNo) {
        this.buildNo = buildNo;
    }

    public String getBuildNo() {
        return buildNo;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getFloor() {
        return floor;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setTexture(String texture) {
        this.texture = texture;
    }

    public String getTexture() {
        return texture;
    }

    public void setLength(Long length) {
        this.length = length;
    }

    public Long getLength() {
        return length;
    }

    public void setSurfaceArea(Long surfaceArea) {
        this.surfaceArea = surfaceArea;
    }

    public Long getSurfaceArea() {
        return surfaceArea;
    }

    public void setGrossWeight(Long grossWeight) {
        this.grossWeight = grossWeight;
    }

    public Long getGrossWeight() {
        return grossWeight;
    }

    public void setNetWeight(Long netWeight) {
        this.netWeight = netWeight;
    }

    public Long getNetWeight() {
        return netWeight;
    }

    public void setProcessNo(String processNo) {
        this.processNo = processNo;
    }

    public String getProcessNo() {
        return processNo;
    }

    public void setReportingCount(Long reportingCount) {
        this.reportingCount = reportingCount;
    }

    public Long getReportingCount() {
        return reportingCount;
    }

    public void setReportWeight(Long reportWeight) {
        this.reportWeight = reportWeight;
    }

    public Long getReportWeight() {
        return reportWeight;
    }

    public void setUnqualifiedQuantity(Long unqualifiedQuantity) {
        this.unqualifiedQuantity = unqualifiedQuantity;
    }

    public Long getUnqualifiedQuantity() {
        return unqualifiedQuantity;
    }

    public void setOutputQuantity(Long outputQuantity) {
        this.outputQuantity = outputQuantity;
    }

    public Long getOutputQuantity() {
        return outputQuantity;
    }

    public void setProductionTime(Date productionTime) {
        this.productionTime = productionTime;
    }

    public Date getProductionTime() {
        return productionTime;
    }

    public void setWhetherPrint(String whetherPrint) {
        this.whetherPrint = whetherPrint;
    }

    public String getWhetherPrint() {
        return whetherPrint;
    }

    public void setWhetherStock(String whetherStock) {
        this.whetherStock = whetherStock;
    }

    public String getWhetherStock() {
        return whetherStock;
    }

    public void setPrintTime(Date printTime) {
        this.printTime = printTime;
    }

    public Date getPrintTime() {
        return printTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("workReportNo", getWorkReportNo())
                .append("compomentNo", getCompomentNo())
                .append("compomentType", getCompomentType())
                .append("compomentName", getCompomentName())
                .append("buildNo", getBuildNo())
                .append("floor", getFloor())
                .append("specifications", getSpecifications())
                .append("texture", getTexture())
                .append("length", getLength())
                .append("surfaceArea", getSurfaceArea())
                .append("grossWeight", getGrossWeight())
                .append("netWeight", getNetWeight())
                .append("processNo", getProcessNo())
                .append("reportingCount", getReportingCount())
                .append("reportWeight", getReportWeight())
                .append("unqualifiedQuantity", getUnqualifiedQuantity())
                .append("outputQuantity", getOutputQuantity())
                .append("productionTime", getProductionTime())
                .append("whetherPrint", getWhetherPrint())
                .append("whetherStock", getWhetherStock())
                .append("printTime", getPrintTime())
                .toString();
    }
}
